<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/javascript">
			console.log(1==1);
			console.log(1===1);
			console.log(1=="1");//判断内容
			console.log(1==="1");//判断内容还判断数值类型
			
			
			console.log(100!=100);//false
			console.log(100!==100);//false
			console.log(100!="100");//false
			console.log(100!=="100");//true
			
			//赋值运算符
			//= += -= *= /=
			//逻辑运算符
			//&& ||  |
			//条件运算符
			//条件表达式？ 结果1：结果2
			//逗号运算符
			var a,b,c,d;
			d = (a=1,b=2,c=3);
			console.log("a="+a);//1
			console.log("b="+b);//2
			console.log("c="+c);//3
			console.log("d="+d);//3
			
			//typeof 运算符 获取数据类型
			console.log(typeof a);//number
			console.log(typeof "123");//string
			console.log(typeof (1==1));//boolean
			var e;
			console.log(typeof e);//undefined
			
		</script>
	</body>
</html>
